'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.delete('/students/:id', controller.students.destory);
  router.resources("students","/students",controller.students)
};
